package com.seari.service;

import com.seari.bean.EtMaintainPlan;
import com.seari.bean.EtMaintainRecords;
import com.seari.pojo.EtmaintainPlanParam;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface EtMaintainPlanService {


    List<EtMaintainPlan> getEtmaintainPlan(EtmaintainPlanParam param);

    List<Integer> getTaskNum(EtmaintainPlanParam param);

    List<EtMaintainPlan> getEtmaintainPlans(EtmaintainPlanParam param);

    int addMaintain(EtMaintainPlan et);

    int updateMaintain(EtMaintainPlan et);

    int deleteMaintain(String taskNum);

    List<EtMaintainRecords> getRecord(String doMain, String systemName, String eventType);

    int addRecord(EtMaintainRecords etm);

    List<EtMaintainRecords> getRecords(EtmaintainPlanParam param);

    int updateRecords(EtMaintainRecords etm);

    int deleteRecord(String taskNum);

    int deleteRecords(String[] taskNums);


}
